<!DOCTYPE html>
<html lang="en">
<head>
        <?php include_once VIEWS.'/inc/head.php'; ?>

</head>
<body>
 <div class="box"></div>

    <?php include_once VIEWS.'/inc/header.php'; ?>
    <!--头部导航-->
     <?php include_once VIEWS.'/inc/nav.php'; ?>
     <!--分隔-->
  <div class="wrap clear">
       
<?php 
	if(isset($_GET['id'])){
		$listId=$_GET['id'];
		$list=$this->db->query("SELECT * FROM boc_article WHERE cid = 6 AND audit = 1 AND  date(FROM_UNIXTIME(timeline)) = '$listId'")->result_array();
		//var_dump($list);exit;
	}
?>
        <!--banner大图-->
    
        <div class="about clear">
            <div class="news news_sma">
            <?php if(!empty($list)):?>
						<?php foreach($list as $k=>$v):?>
            		<a href="<?php echo  site_url("activity/info?news_id=".$v['id']); ?>">
                    <dl>
                        <dd>
                            <span><?php echo $v['title']?></span>
                            <i><?php echo msubstr(str_replace('&nbsp;','',trim(strip_tags($v['content']))),0,100);?></i>
                        </dd>
                    </dl>
                </a>
						<?php endforeach;?>
						<?php endif;?>
            </div>

            <div class="news_nx nsad">
                <a href="<?php echo  site_url("activity"); ?>"><i>返回</i></a>
            </div>

        </div>
         
      <!--分隔-->

  </div>





 
    <!--商业区域-->



</body>
</html>

